package com.glsc.ngateway.common.api.platform.dto.it.networkassets.dict;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.glsc.ngateway.common.api.common.dto.BaseEntityDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * IT网络资产字典字段项
 * @author xuchang
 */
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class ItNetworkAssetsDictFieldDto extends BaseEntityDto implements Serializable {

    private static final long serialVersionUID = 127001881616511840L;
    @ApiModelProperty(value = "id")
    private Long id;
    @JsonIgnore
    private String dictCode;
    @ApiModelProperty(value = "描述")
    private String desc;
    @ApiModelProperty(value = "字段code")
    private String code;
    @ApiModelProperty(value = "字段类型")
    private String type;
    @ApiModelProperty(value = "字段长度(最长512)")
    private Integer length;
//    @JsonIgnore
//    private List<ItNetworkAssetsDictFieldValueDto> valueList;

}
